import request from "@/request";

export const getFileList = (params) =>
  request({
    url: "/admin-api/infra/file/page",
    method: "get",
    params,
  });

export const removeFile = (id) =>
  request({
    url: "/admin-api/infra/file/delete",
    method: "delete",
    params: {
      id,
    },
  });
